package com.oneandseven.dajia.entity.user;

import com.oneandseven.dajia.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Column;
import java.sql.Timestamp;

@Entity
@Table(name = "user_base_info")
@Data
@EqualsAndHashCode(callSuper = true)
public class UserBaseInfoEntity extends BaseEntity {

    @Column(name = "user_name")
    private String userName;

    @Column(name = "user_portrait")
    private String userPortrait;

    @Column(name = "openid")
    private String openId;

    @Column(name = "unionid")
    private String unionid;

    @Column(name = "phone_number")
    private String phoneNumber;

    @Column(name = "create_time")
    private Timestamp createTime;
}
